Jianwen Cai

Last Updated: 2011-06-06

 

Power Calculation for Case-Cohort Studies with Nonrare Event

R and SAS code for power calculation based on the test statistic proposed in Cai and Zeng(2007) to compare hazard functions between two samples for generalized case-cohort studies.

Reference: Cai, J. and Zeng, D. (2007). Power Calculation for Case-Cohort Studies with Nonrare Events. Biometrics, 63: 1288 - 1295.

Description

Download R Source Code

Download SAS Source Code

SAS Code Example

 

Sample Code for Estimation in Marginal Hazards Model for Case-Cohort Studies with Multiple Disease Outcomes.

The sample R code obtains the regression parameter estimate and its variance estimate from the time-invariant weighted method.

Reference: Kang, S. and Cai, J. (2009). Marginal hazards model for case-cohort studies with multiple disease outcomes. Biometrika, 96: 887-901.

Download R Source Code

 

Source Code for the Simulations in Cai, Fan, Jiang and Zhou. (2007).

The Matlab Code are the source code for the simulation studies conducted in Cai, Fan, Jiang and Zhou. (2007).

Reference: Cai, J., Fan, J., Jiang, J. and Zhou, H. (2007). Partially linear hazard regression for multivariate survival data. Journal of American Statistical Association, 102: 538-551.

Download Matlab Source Code